<template>
  <h1>跳转中.....</h1>
</template>

<script>
  export default {
    name: "PeskIndex",
    data() {
      return {}
    },
    mounted() {
      setTimeout(() => {
        this.target()
      }, 1000)
    },
    methods: {
      target() {
        if (this.$store.state.accessToken === '') {
          HttpUtil.redirectAuth()
        } else {
          this.$router.push('/page/home')
        }
      }
    }
  }
</script>

<style scoped>

</style>
